<table class="table">
	<tr>
	    <td>名称:</td>
		<td>{{ detail_data.name_chinese }}</td>
		<td>下水时间:</td>
		<td>{{ detail_data.launching_time }}</td>
	</tr>
	<tr>
		<td>MMSI:</td>
		<td>{{ detail_data.mmsi }}</td>
		<td>IMO:</td>
		<td>{{ detail_data.imo }}</td>
	</tr>
	<tr>
		<td>经度:</td>
		<td>{{ data_ship.longitude }}</td>
		<td>维度:</td>
		<td>{{ data_ship.latitude }}</td>
	</tr>
	<tr>
		<td>总重:</td>
		<td>{{ detail_data.total_weight }}</td>
		<td>船舶类型:</td>
		<td>{{ detail_data.ship_type_id }}</td>
	</tr>
	<tr>
		<td><button type="button" onclick="javascript:window.location.href='/map/data_detail/{{detail_data.ship_id}}'" class="btn btn-info">详情</button></td>
		<td><button type="button" onclick="get_history_line({{ detail_data.ship_id}})" class="btn btn-info">轨迹</button></td>
		<td><button type="button" onclick="select_history_time({{ detail_data.ship_id}})" class="btn btn-info">轨迹历史</button></td>
		<td><button type="button" onclick="javascript:window.location.href='/map/history_data/{{detail_data.ship_id}}'" class="btn btn-info">历史数据</button></td>
	</tr>
</table>
<script type="text/javascript">
	function select_history_time(ship_id)
	{
		// get_history_line(ship_id);
		urls = '/map/ship_detail/select_history_time/'+ship_id;
		$.dialog({
			title: 'Belfu船舶管理系统!',
			content: "url:"+urls,
			theme: 'material',
			animationSpeed: 500,
		});
	}
</script>